#include "SceneManager.h"
#include <cassert>

SceneManager::SceneManager():
_curr_scene(0)
{}

void SceneManager::add(Scene* scene)
{
    assert(scene);
    _scenes.push_back(scene);
}

void SceneManager::erase(Scene** scene)
{
    assert(scene && *scene);
}

void SceneManager::clear()
{
    Scenes::iterator itr = _scenes.begin();
    while(itr != _scenes.end()) {
        erase(&(*itr));
        itr++;
    }
}
